package com.jlastu.znb.message;

public class Message {
    private String text; // 消息文本
    private String sender; // 发送者姓名
    private boolean isIncoming; // 是否为接收到的消息

    public Message(String text, String sender, boolean isIncoming) {
        this.text = text;
        this.sender = sender;
        this.isIncoming = isIncoming;
    }

    public String getText() {
        return text;
    }

    public String getSender() {
        return sender;
    }

    public boolean isIncoming() {
        return isIncoming;
    }
}
